﻿<%@ Page Title="" Language="C#" MasterPageFile="Site.master" AutoEventWireup="true"
    CodeFile="AddBook.aspx.cs" Inherits="AddBook" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Style/MasterStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="Server">
<!--Main holder*******************************-->
    <asp:Panel ID="Panel1" runat="server" DefaultButton="ButtonAdd">
        <!--*************************************-->
        <!--Layout******************************-->
        <div class="layout-title">
            <!--Big title********************************-->
            <span class="big">
                <asp:Label ID="Toplabel" runat="server" Text="INFORMATION OF BOOK" CssClass="addpage-toplabel"></asp:Label>
            </span>
            <!--*************************************-->
            <asp:Label ID="LabelTest" runat="server" Text="" CssClass="addpage-note"></asp:Label>
            <asp:Button ID="ButtonAdd" runat="server" OnClick="ButtonAdd_Click1" Text="Add" CssClass="addpage-button"
                TabIndex="8" />
        </div>
        <!--*************************************-->
        <div class="layout-content">
            <div class="addlast">
            </div>
            <span class="small">
                <asp:Label ID="LabelName" runat="server" Text="Book Name" CssClass="addpage-label"></asp:Label>
                <asp:TextBox ID="TextName" runat="server" CssClass="addpage-box" TabIndex="1"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextName"
                    ErrorMessage="RequiredFieldValidator" CssClass="addpage-valid">The name of book is required!</asp:RequiredFieldValidator>
                <asp:Label ID="Author" runat="server" Text="Author" CssClass="addpage-label"></asp:Label>
                <asp:TextBox ID="TextAuthor" runat="server" CssClass="addpage-box" TabIndex="2"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextAuthor"
                    ErrorMessage="RequiredFieldValidator" CssClass="addpage-valid">Author of book is empty !</asp:RequiredFieldValidator>
                <asp:Label ID="LabelCatalogue" runat="server" Text="Catalogue" CssClass="addpage-label"></asp:Label>
                <asp:DropDownList ID="TextCatalogue" runat="server" CssClass="addpage-box" TabIndex="3">
                    <asp:ListItem>Foreign Literature</asp:ListItem>
                    <asp:ListItem>Vietnamese Literature</asp:ListItem>
                    <asp:ListItem>English</asp:ListItem>
                    <asp:ListItem>Information Technology</asp:ListItem>
                    <asp:ListItem>Business </asp:ListItem>
            </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextCatalogue"
                    ErrorMessage="RequiredFieldValidator" CssClass="addpage-valid">You must entered catalogue !</asp:RequiredFieldValidator>
                <!--*************************************-->
                <asp:Label ID="Label5" runat="server" Text="Publisher" CssClass="addpage-label"></asp:Label>
                <asp:TextBox ID="TextPublisher" runat="server" CssClass="addpage-box" TabIndex="4"></asp:TextBox>
                <asp:Label ID="Label1" CssClass="addpage-validtemp" runat="server" Text="."></asp:Label>
                <asp:Label ID="LabelYear" runat="server" Text="Publish Year" CssClass="addpage-label"></asp:Label>
                <asp:TextBox ID="TextYear" runat="server" CssClass="addpage-box" TabIndex="5"></asp:TextBox>
                <asp:Label ID="Label2" CssClass="addpage-validtemp" runat="server" Text="."></asp:Label>
                <asp:Label ID="Label8" runat="server" Text="Cover" CssClass="addpage-label"></asp:Label>
                <asp:TextBox ID="txtCover" runat="server" CssClass="addpage-box" TabIndex="6"></asp:TextBox>
                <asp:Label ID="Label3" CssClass="addpage-validtemp" runat="server" Text="."></asp:Label>
                <asp:Label ID="Label7" runat="server" Text="Description" CssClass="addpage-label"></asp:Label>
                <asp:TextBox ID="TextDescription" TextMode="multiline" runat="server" CssClass="addpage-box"
                    TabIndex="7"></asp:TextBox>
            </span>
            <div class="addlast">
            </div>
        </div>
    </asp:Panel>
</asp:Content>
